From concept to reality. Teach me how to CSS style my divs [closed]

Posted by unixman83 on Pro Webmasters See other posts from Pro Webmasters or by unixman83
Published on 2012-03-26T20:26:09Z Indexed on 2012/03/26 23:40 UTC
Read the original article Hit count: 119

Filed under:
|
|

I have the html layout of my simple web page below (commented). What css do I add to <div> classes to get the rendering that I want? I want to learn. Give me the CSS file for it please.

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>My Website</title>
</head>
<body>
    <div class="outer"> <!--Outer content box 750px wide-->
        <div class="header">
            The heading of the page.
        </div>
        <div class="main">
            <div class="leftbar">
                A sidebar on the left with categories.
            </div>
            <div class="content">
                The main content of the page.
            </div>
        </div>
    </div>
</body>
</html>

© Pro Webmasters or respective owner

Related posts about html

Related posts about web-development